package com.glasses.manage.auth.service.impl;

import com.glasses.manage.auth.dao.MusicDao;
import com.glasses.manage.auth.entity.Music;
import com.glasses.manage.auth.service.MusicService;
import com.glasses.manage.core.biz.BaseBizImpl;
import com.glasses.manage.core.dao.BaseDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by lenovo on 2017/9/26.
 */
@Service("musicService")
public class MusicServiceImpl extends BaseBizImpl<Music> implements MusicService {
    @Autowired
    private MusicDao musicDao;

    @Override
    protected BaseDao<Music> getDao() {
        return musicDao;
    }

    @Override
    public List<Music> getMusic() {
        return musicDao.getMusic();
    }
}
